package com.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.domain.SysRole;

public interface SysRoleMapper extends BaseMapper<SysRole> {

    /**
     * 判断一个用户是否是超级管理员
     * @param userId
     * @return
     */
    String getUserRoleCode(Long userId);
}